package net.learn.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.learn.system.entity.SysMyPaperEntity;
import net.learn.system.query.SysMyPaperQuery;
import net.learn.system.vo.SysMyPaperVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 */
@Mapper
public interface SysMyPaperDao extends BaseMapper<SysMyPaperEntity> {

    IPage<SysMyPaperEntity> qryMyPaperListPage(IPage<SysMyPaperEntity> page, @Param("SysMyPaperQuery") SysMyPaperQuery qry);

    List<SysMyPaperVO> qryMyPaperList(@Param("SysMyPaperQuery") SysMyPaperQuery qry);

    IPage<SysMyPaperEntity> qryMyPaperCondition(IPage<SysMyPaperEntity> page,@Param("SysMyPaperQuery") SysMyPaperQuery qry);

    IPage<SysMyPaperEntity> qryMyPaperGroup(IPage<SysMyPaperEntity> page,@Param("SysMyPaperQuery") SysMyPaperQuery qry);

    IPage<SysMyPaperEntity> qryMyPaperView(IPage<SysMyPaperEntity> page,@Param("SysMyPaperQuery") SysMyPaperQuery qry);
}
